package com.jiegui.common.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @description:
 * @author: wuqicheng
 * @time: 2022/4/11 15:24
 */
@Data
public class BaseQueryEntity {
    /** 搜索值 */
    @TableField(exist = false)
    private String searchValue;



    /** 请求参数 */
    @TableField(exist = false)
    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null) {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}
